package com.bdzl.credit;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication//Boot启动注解
@EnableDiscoveryClient //注册发现和配置中心注解
@EnableFeignClients//Feign微服务之间调用
@MapperScan(basePackages = "com.bdzl.credit.dao") // 扫描mapper
public class ApplicationCredit {

    public static void main(String[] args) {
        SpringApplication.run(ApplicationCredit.class, args);
        System.out.println(" Y（TvT）Y  征信模块待机！");
    }

}
